{template 'common/header'}
<link id="barindexCss" rel="stylesheet" href="../addons/meepo_bbs/template/mobile/default/style/base.css" />
<link id="barindexCss" rel="stylesheet" href="../addons/meepo_bbs/template/mobile/default/style/style.css" />
<script type="text/javascript" src="../addons/meepo_bbs/template/mobile/default/style/script.js"></script>

<title>我兑换的奖品</title>
	<section class="order">
        <section class="order_content">
            <section class="order_item">
			<aside>我的积分：{$fans['credit1']}</aside>
	            <section class="button">
				<a href="{php echo $this->createMobileUrl('home_credit_goods')}">继续兑换更多奖品</a>
		        </section>
            </section>
		</section>

    	<!--content-->
        <section class="order_content">
			{loop $goods_list $item}
        	<!--item-->
            <section class="order_item">
				<aside>{$item['title']}</aside>
                <article>
				<section class="order_item_l"><img src="{php echo $_W['attachurl'].$item['logo']}" /></section>
                	<section class="order_item_r">
					<p>价值：<span class="red20">{$item['price']}</span></p>
					<p>消耗积分：{$item['cost']}</p>
					<p>兑换日期： {php echo date('Y-m-d H:i:s', $item['createtime'])}</p> 
					<p>收件人： {$item['realname']}</p>
					<p>联系电话： {$item['mobile']}</p>
					<p>收件地址： {$item['residedist']}</p>
					{if "" != $item['note']}<p>备注： {$item['note']}</p>{/if}
                </section>
				</article>

				{if $item['status'] != 'done'}
			        <section class="button">
			          <a href="javascript:void()" onclick="return alert('正在为您兑换，为您发货后本按钮自动消失。')">查询兑换状态</a>
			        </section>
				{/if}
            </section>
            <!--item end-->
			{/loop}
        </section>
        <!--content end-->
		</section>

{template 'common/footer'}
